<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>vphy: xvphy.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">vphy
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xvphy_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xvphy.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>The Xilinx Video PHY (VPHY) driver. </p>
<p>This driver supports the Xilinx Video PHY IP core. Version 1.0 supports:</p><ul>
<li>GTXE2 and GTHE3 GT types.</li>
<li>DisplayPort and HDMI protocols.</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
<hr/>

1.0   als  10/19/15 Initial release.
1.1   gm   02/01/16 Added EAST, WEST, PLL0 and PLL1 definitions
                    for GTPE2.
                    Added more events to XVphy_LogEvent definitions
                    Added TxBufferBypass in <a class="el" href="struct_x_vphy___config.html" title="This typedef contains configuration information for the Video PHY core. ">XVphy_Config</a> structure
                    Added XVphy_SetDefaultPpc and XVphy_SetPpc functions
      als           Added XVphy_GetLineRateHz function.
1.2   gm            Added HdmiFastSwitch in <a class="el" href="struct_x_vphy___config.html" title="This typedef contains configuration information for the Video PHY core. ">XVphy_Config</a>
                    Changed EffectiveAddr datatype in XVphy_CfgInitialize
                      to UINTPTR
                    Added log events for debugging
1.2   gm   11/11/19 Added TransceiverWidth in <a class="el" href="struct_x_vphy___config.html" title="This typedef contains configuration information for the Video PHY core. ">XVphy_Config</a>
1.4   gm   29/11/16 Moved internally used APIs to <a class="el" href="xvphy__i_8c.html" title="Contains generic APIs that are locally called or used within the VPHY driver. ">xvphy_i.c</a>/h
                    Added preprocessor directives for sw footprint reduction
                    Made debug log optional (can be disabled via makefile)
                    Added ERR_IRQ type_defs (not for official use for
                      Xilinx debugging)
                    Added transceiver width, AXIlite clk frequency and
                      err_irq in <a class="el" href="struct_x_vphy___config.html" title="This typedef contains configuration information for the Video PHY core. ">XVphy_Config</a>
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___pll_param.html">XVphy_PllParam</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for CPLL/QPLL programming.  <a href="struct_x_vphy___pll_param.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___channel.html">XVphy_Channel</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for PLL type and its reference clock.  <a href="struct_x_vphy___channel.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___mmcm.html">XVphy_Mmcm</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for MMCM programming.  <a href="struct_x_vphy___mmcm.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___quad.html">XVphy_Quad</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef represents a GT quad.  <a href="struct_x_vphy___quad.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___log.html">XVphy_Log</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains the logging mechanism for debug.  <a href="struct_x_vphy___log.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy___config.html">XVphy_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for the Video PHY core.  <a href="struct_x_vphy___config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_vphy.html">XVphy</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> driver instance data.  <a href="struct_x_vphy.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a21fe7ac2940a12aa24d265c30d02b1aa"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a21fe7ac2940a12aa24d265c30d02b1aa">XVphy_IntrHandler</a>) (void *InstancePtr)</td></tr>
<tr class="memdesc:a21fe7ac2940a12aa24d265c30d02b1aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback type which represents the handler for interrupts.  <a href="#a21fe7ac2940a12aa24d265c30d02b1aa">More...</a><br /></td></tr>
<tr class="separator:a21fe7ac2940a12aa24d265c30d02b1aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2aa9ce957914fce939a5a3aca20b7e86"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a2aa9ce957914fce939a5a3aca20b7e86">XVphy_TimerHandler</a>) (void *InstancePtr, u32 MicroSeconds)</td></tr>
<tr class="memdesc:a2aa9ce957914fce939a5a3aca20b7e86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback type which represents a custom timer wait handler.  <a href="#a2aa9ce957914fce939a5a3aca20b7e86">More...</a><br /></td></tr>
<tr class="separator:a2aa9ce957914fce939a5a3aca20b7e86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3025c63cf1c5e5065caa8e097e451339"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a3025c63cf1c5e5065caa8e097e451339">XVphy_Callback</a>) (void *CallbackRef)</td></tr>
<tr class="memdesc:a3025c63cf1c5e5065caa8e097e451339"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generic callback type.  <a href="#a3025c63cf1c5e5065caa8e097e451339">More...</a><br /></td></tr>
<tr class="separator:a3025c63cf1c5e5065caa8e097e451339"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a1018e4be67be76fe085dc41338285bd2"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a1018e4be67be76fe085dc41338285bd2">XVphy_ProtocolType</a> <tr class="memdesc:a1018e4be67be76fe085dc41338285bd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef enumerates the various protocols handled by the Video PHY controller (VPHY).  <a href="xvphy_8h.html#a1018e4be67be76fe085dc41338285bd2">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a1018e4be67be76fe085dc41338285bd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87369c0a51fcd69621ccbbd44b64b470"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a> <tr class="memdesc:a87369c0a51fcd69621ccbbd44b64b470"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef enumerates the list of available interrupt handler types.  <a href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a87369c0a51fcd69621ccbbd44b64b470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d7a1522b8c8db7a4d13630b4d0d67ac"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67ac">XVphy_HdmiHandlerType</a> { <a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67aca0935a34352ea1c95845d24f9339aa858">XVPHY_HDMI_HANDLER_TXINIT</a> = 1, 
<a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67aca663e6eda3ccced827fb278555c33d2cf">XVPHY_HDMI_HANDLER_TXREADY</a>, 
<a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67acadc1239bf568d5bec91b9c9baa8bca65e">XVPHY_HDMI_HANDLER_RXINIT</a>, 
<a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67acafe4c577235317d8538e592641f45d1a3">XVPHY_HDMI_HANDLER_RXREADY</a>
 }<tr class="memdesc:a5d7a1522b8c8db7a4d13630b4d0d67ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef enumerates the list of available hdmi handler types.  <a href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67ac">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a5d7a1522b8c8db7a4d13630b4d0d67ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd3d50bbadd64dbfb763e97759a02624"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> <tr class="memdesc:abd3d50bbadd64dbfb763e97759a02624"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef enumerates the different PLL types for a given GT channel.  <a href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:abd3d50bbadd64dbfb763e97759a02624"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a535e4dd9425d8b7818e02930ce9e2b8e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> <tr class="memdesc:a535e4dd9425d8b7818e02930ce9e2b8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef enumerates the available channels.  <a href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a535e4dd9425d8b7818e02930ce9e2b8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abaf929d37e9f193c5577e3a08b50c950"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> <tr class="memdesc:abaf929d37e9f193c5577e3a08b50c950"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef enumerates the available reference clocks for the PLL clock selection multiplexer.  <a href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:abaf929d37e9f193c5577e3a08b50c950"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91d7e180fc85dbee0c2daeb6014597c0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a> <tr class="memdesc:a91d7e180fc85dbee0c2daeb6014597c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef enumerates the available reference clocks used to drive the RX/TX datapaths.  <a href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a91d7e180fc85dbee0c2daeb6014597c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ff2690f40dd23e3fb4ba55d99a6c45f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a> <tr class="memdesc:a1ff2690f40dd23e3fb4ba55d99a6c45f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef enumerates the available reference clocks used to drive the RX/TX output clocks.  <a href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a1ff2690f40dd23e3fb4ba55d99a6c45f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae82c27883add3fd1d30d4e0a8d5ee869"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ae82c27883add3fd1d30d4e0a8d5ee869">XVphy_OutClkSelType</a> <tr class="memdesc:ae82c27883add3fd1d30d4e0a8d5ee869"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef enumerates the available clocks that are used as multiplexer input selections for the RX/TX output clock.  <a href="xvphy_8h.html#ae82c27883add3fd1d30d4e0a8d5ee869">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ae82c27883add3fd1d30d4e0a8d5ee869"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11be9fb60860466de1747a062ac1a919"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919">XVphy_GtState</a> { <br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a8af6950c69438f65bef20ec1ec395c5d">XVPHY_GT_STATE_IDLE</a>, 
<a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919abd3df6a0b11e0c4dd9250f995cf528d2">XVPHY_GT_STATE_LOCK</a>, 
<a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919aca296f5c524808bcb196136845316aec">XVPHY_GT_STATE_RESET</a>, 
<a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a230046f4a0b3321064c133ead87ce2ea">XVPHY_GT_STATE_ALIGN</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919a5011c615c5b46d321d92c7cd16870138">XVPHY_GT_STATE_READY</a>
<br />
 }</td></tr>
<tr class="separator:a11be9fb60860466de1747a062ac1a919"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a850b903da34740657782f29d2f142862"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862">XVphy_LogEvent</a> { <br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a3bdbb622e1eb4b326e8a5fd83657be97">XVPHY_LOG_EVT_NONE</a> = 1, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862afaac44c45e2bc57cc2f617ea54b5cea7">XVPHY_LOG_EVT_QPLL_EN</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a34b4ad0da304ecd352666351effb09ec">XVPHY_LOG_EVT_QPLL_RST</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862aec2fc43529cf55a7a3f5c41d74af14a0">XVPHY_LOG_EVT_QPLL_LOCK</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a786d40f0263293814d72536da3dc0f8c">XVPHY_LOG_EVT_QPLL_RECONFIG</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ad52a7e6d86f8cc9f29750f4c9795159c">XVPHY_LOG_EVT_QPLL0_EN</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a22bcd2aa76118e62733db3bafe94f684">XVPHY_LOG_EVT_QPLL0_RST</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a8675d76576172fd5f58bd8ccb80d8ff1">XVPHY_LOG_EVT_QPLL0_LOCK</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a44c36c63c93e86fcd8a626448c9dc8ce">XVPHY_LOG_EVT_QPLL0_RECONFIG</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a70e66eba3c2dfc433c10e22109075e65">XVPHY_LOG_EVT_QPLL1_EN</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a37d46ff14ff774b860fa04a3097c4e4e">XVPHY_LOG_EVT_QPLL1_RST</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a4291b067d456a42737ebaafaa61fa767">XVPHY_LOG_EVT_QPLL1_LOCK</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a6d02ba6d46f732482f1d010fcb437f55">XVPHY_LOG_EVT_QPLL1_RECONFIG</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ad8e026d18f12edf002d7d7d68a66d522">XVPHY_LOG_EVT_PLL0_EN</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ae42676f5447cbcccb4d1cc597b897cd8">XVPHY_LOG_EVT_PLL0_RST</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a586bb32a20f4a986ae208c0e6e8bef08">XVPHY_LOG_EVT_PLL0_LOCK</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862acd2a55ba7c91782029e40356154b66a2">XVPHY_LOG_EVT_PLL0_RECONFIG</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862af8e57e72726b6310900e8294f6f0c6d3">XVPHY_LOG_EVT_PLL1_EN</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a111dda7109926b386f8cb182b17d8854">XVPHY_LOG_EVT_PLL1_RST</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab1590d315e1c6be3f46ea54ad59cbb97">XVPHY_LOG_EVT_PLL1_LOCK</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab201b87e897162791ec58380d04a984b">XVPHY_LOG_EVT_PLL1_RECONFIG</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab0598c9436107368e845f78889392d0a">XVPHY_LOG_EVT_CPLL_EN</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a16d8b631eb64d20c8235ea1190ac5fb4">XVPHY_LOG_EVT_CPLL_RST</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab3dfbd833b116269343aabe94495a171">XVPHY_LOG_EVT_CPLL_LOCK</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ac40104381761e9e75f7cd39b77604468">XVPHY_LOG_EVT_CPLL_RECONFIG</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab34474947edbe41e79f5f38570e91eed">XVPHY_LOG_EVT_TXPLL_EN</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a123b046c9e909116f14f747a45c5433e">XVPHY_LOG_EVT_TXPLL_RST</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a2f5e75886c9f9d1555cc07d3a907a3f1">XVPHY_LOG_EVT_RXPLL_EN</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ad128c86d056498569cca58fdf487b0d7">XVPHY_LOG_EVT_RXPLL_RST</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862aed542b730b8682830f454a74fff14fea">XVPHY_LOG_EVT_GTRX_RST</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a09e65067d1a0ed267159ab7d381a8c3d">XVPHY_LOG_EVT_GTTX_RST</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a0dbd82fde8ad7b4a702af465767dfd85">XVPHY_LOG_EVT_VID_TX_RST</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a786c25e8dc1c0f36bd6d2c242f306691">XVPHY_LOG_EVT_VID_RX_RST</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a21a930543611410db05e0f831c77e762">XVPHY_LOG_EVT_TX_ALIGN</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a305b618171b512efe17f9ae0006eef7a">XVPHY_LOG_EVT_TX_ALIGN_TMOUT</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862aeb3c3b3bf2de063bb0162202c8e8cf6b">XVPHY_LOG_EVT_TX_TMR</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ae0779929475e9bb2dfbcfd5c53ea66cc">XVPHY_LOG_EVT_RX_TMR</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a831f281a8a83b29f3968f5147ba32b9b">XVPHY_LOG_EVT_GT_RECONFIG</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a564fa05841a99d8026e486f0ca8518c6">XVPHY_LOG_EVT_GT_TX_RECONFIG</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ad5bf29ae3737a33ccdbe8fc80f6a9be0">XVPHY_LOG_EVT_GT_RX_RECONFIG</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a13b0c0b1dd1f7290d956d5cecd143739">XVPHY_LOG_EVT_INIT</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a25461b0cd5a3472dbf51c7f5b36a6ce5">XVPHY_LOG_EVT_TXPLL_RECONFIG</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a8df4eb8446367b5935d94c4227104a7b">XVPHY_LOG_EVT_RXPLL_RECONFIG</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862add3e48488fcf773e705e1c7894beda2f">XVPHY_LOG_EVT_RXPLL_LOCK</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a5910bbca483ec81392f2928c939c9e15">XVPHY_LOG_EVT_TXPLL_LOCK</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862af8505ec0772c740b7599288b11df4ea3">XVPHY_LOG_EVT_TX_RST_DONE</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a0bd9e2fae5b58aa42fb8353be178c61d">XVPHY_LOG_EVT_RX_RST_DONE</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a940b4c923e81d75524b13c19dd715bd8">XVPHY_LOG_EVT_TX_FREQ</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a06ad213c17cc6af8d42c08ad5bb679dc">XVPHY_LOG_EVT_RX_FREQ</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a2e542c84a7bb8c64f3b67738916164e8">XVPHY_LOG_EVT_DRU_EN</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862af3ea810c2b6e4710cee592ec948dd3d6">XVPHY_LOG_EVT_GT_PLL_LAYOUT</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862aa7d82890ce4ee9fd0415705e5a3dac45">XVPHY_LOG_EVT_GT_UNBONDED</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a080d9c4f3212417396daa143e91d9730">XVPHY_LOG_EVT_1PPC_ERR</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a15e0bb5e9c803e18a3cdaa76fa730b76">XVPHY_LOG_EVT_PPC_MSMTCH_ERR</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a9750ae97b863202547adb875864d43b2">XVPHY_LOG_EVT_VDCLK_HIGH_ERR</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a37b4f831c4d3f3a13a3ed8397b65f2d1">XVPHY_LOG_EVT_NO_DRU</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862af3b29c66f638794cdec285bf32a342dd">XVPHY_LOG_EVT_GT_QPLL_CFG_ERR</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a8ac89fccb3aabe46ebcbf23570eae4a0">XVPHY_LOG_EVT_GT_CPLL_CFG_ERR</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab7b69788e3f7081be03ae6882bdeade1">XVPHY_LOG_EVT_VD_NOT_SPRTD_ERR</a>, 
<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a65c8fffc6126277921b7d18c442b237a">XVPHY_LOG_EVT_MMCM_ERR</a>, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862acb4c5887247f150fc3a121792f1e94ff">XVPHY_LOG_EVT_DUMMY</a>
<br />
 }</td></tr>
<tr class="separator:a850b903da34740657782f29d2f142862"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63f8585e9f30f40cf292b200922ea058"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a63f8585e9f30f40cf292b200922ea058">XVphy_ErrIrqType</a> { <br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a63f8585e9f30f40cf292b200922ea058aa01a02e850d1b1e51028ef569e235485">XVPHY_ERRIRQ_QPLL_CFG</a> = 0x1, 
<a class="el" href="xvphy_8h.html#a63f8585e9f30f40cf292b200922ea058a2d80d5bb73875fb8007aace91cd86f14">XVPHY_ERRIRQ_CPLL_CFG</a> = 0x2, 
<a class="el" href="xvphy_8h.html#a63f8585e9f30f40cf292b200922ea058a14e79315e1b59761e51203c0ff991d1c">XVPHY_ERRIRQ_NO_DRU</a> = 0x4, 
<a class="el" href="xvphy_8h.html#a63f8585e9f30f40cf292b200922ea058a61748cdc5f3f01ee0e4edbea387e18f0">XVPHY_ERRIRQ_VD_NOT_SPRTD</a> = 0x8, 
<br />
&#160;&#160;<a class="el" href="xvphy_8h.html#a63f8585e9f30f40cf292b200922ea058a4a56203354fb9c00109d66bf56467a09">XVPHY_ERRIRQ_MMCM_CFG</a> = 0x10, 
<a class="el" href="xvphy_8h.html#a63f8585e9f30f40cf292b200922ea058afffcca0f834e94154c8606ac1f3d62ae">XVPHY_ERRIRQ_PLL_LAYOUT</a> = 0x20
<br />
 }</td></tr>
<tr class="separator:a63f8585e9f30f40cf292b200922ea058"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab71ec5984965000a5c84b07805d4bf58"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ab71ec5984965000a5c84b07805d4bf58">XVphy_CfgInitialize</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="struct_x_vphy___config.html">XVphy_Config</a> *ConfigPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:ab71ec5984965000a5c84b07805d4bf58"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function retrieves the configuration for this Video PHY instance and fills in the InstancePtr-&gt;Config structure.  <a href="#ab71ec5984965000a5c84b07805d4bf58">More...</a><br /></td></tr>
<tr class="separator:ab71ec5984965000a5c84b07805d4bf58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d345eb8a8206448501f6d9dcc53b92e"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a3d345eb8a8206448501f6d9dcc53b92e">XVphy_PllInitialize</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> QpllRefClkSel, <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a> CpllxRefClkSel, <a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> TxPllSelect, <a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> RxPllSelect)</td></tr>
<tr class="memdesc:a3d345eb8a8206448501f6d9dcc53b92e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will initialize the PLL selection for a given channel.  <a href="#a3d345eb8a8206448501f6d9dcc53b92e">More...</a><br /></td></tr>
<tr class="separator:a3d345eb8a8206448501f6d9dcc53b92e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4cef4dea102e0cbb7671d8113f9d52e"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#aa4cef4dea102e0cbb7671d8113f9d52e">XVphy_GetVersion</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
<tr class="memdesc:aa4cef4dea102e0cbb7671d8113f9d52e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will obtian the IP version.  <a href="#aa4cef4dea102e0cbb7671d8113f9d52e">More...</a><br /></td></tr>
<tr class="separator:aa4cef4dea102e0cbb7671d8113f9d52e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54b6787198c16e99851326d82568421d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a54b6787198c16e99851326d82568421d">XVphy_WaitUs</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u32 MicroSeconds)</td></tr>
<tr class="memdesc:a54b6787198c16e99851326d82568421d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the delay/sleep function for the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> driver.  <a href="#a54b6787198c16e99851326d82568421d">More...</a><br /></td></tr>
<tr class="separator:a54b6787198c16e99851326d82568421d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5d2ef80f68b92db024b3e690d0c410e"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ad5d2ef80f68b92db024b3e690d0c410e">XVphy_CfgLineRate</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u64 LineRateHz)</td></tr>
<tr class="memdesc:ad5d2ef80f68b92db024b3e690d0c410e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the channel's line rate.  <a href="#ad5d2ef80f68b92db024b3e690d0c410e">More...</a><br /></td></tr>
<tr class="separator:ad5d2ef80f68b92db024b3e690d0c410e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc589d8dad782b38e7da73526c30207b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#acc589d8dad782b38e7da73526c30207b">XVphy_GetPllType</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="memdesc:acc589d8dad782b38e7da73526c30207b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the channel's PLL reference clock selection.  <a href="#acc589d8dad782b38e7da73526c30207b">More...</a><br /></td></tr>
<tr class="separator:acc589d8dad782b38e7da73526c30207b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83265bb40529b7550588a1ee0216fe1f"><td class="memItemLeft" align="right" valign="top">u64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a83265bb40529b7550588a1ee0216fe1f">XVphy_GetLineRateHz</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="memdesc:a83265bb40529b7550588a1ee0216fe1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will return the line rate in Hz for a given channel / quad.  <a href="#a83265bb40529b7550588a1ee0216fe1f">More...</a><br /></td></tr>
<tr class="separator:a83265bb40529b7550588a1ee0216fe1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1c3340164a0759e485ba914ef282dc3"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ad1c3340164a0759e485ba914ef282dc3">XVphy_ResetGtPll</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
<tr class="memdesc:ad1c3340164a0759e485ba914ef282dc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will reset the GT's PLL logic.  <a href="#ad1c3340164a0759e485ba914ef282dc3">More...</a><br /></td></tr>
<tr class="separator:ad1c3340164a0759e485ba914ef282dc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d258176c8a2cc605cdaf8f28a72559d"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a3d258176c8a2cc605cdaf8f28a72559d">XVphy_ResetGtTxRx</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
<tr class="memdesc:a3d258176c8a2cc605cdaf8f28a72559d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will reset the GT's TX/RX logic.  <a href="#a3d258176c8a2cc605cdaf8f28a72559d">More...</a><br /></td></tr>
<tr class="separator:a3d258176c8a2cc605cdaf8f28a72559d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a139392a254c9872829ff70e712ba807b"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a139392a254c9872829ff70e712ba807b">XVphy_DrpWrite</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u16 Addr, u16 Val)</td></tr>
<tr class="memdesc:a139392a254c9872829ff70e712ba807b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will initiate a write DRP transaction.  <a href="#a139392a254c9872829ff70e712ba807b">More...</a><br /></td></tr>
<tr class="separator:a139392a254c9872829ff70e712ba807b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2ae1cb78ebf784d843ec371e68f2d96"><td class="memItemLeft" align="right" valign="top">u16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#af2ae1cb78ebf784d843ec371e68f2d96">XVphy_DrpRead</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId, u16 Addr)</td></tr>
<tr class="memdesc:af2ae1cb78ebf784d843ec371e68f2d96"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will initiate a read DRP transaction.  <a href="#af2ae1cb78ebf784d843ec371e68f2d96">More...</a><br /></td></tr>
<tr class="separator:af2ae1cb78ebf784d843ec371e68f2d96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59516866f229178eca67ede70680a751"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a59516866f229178eca67ede70680a751">XVphy_MmcmPowerDown</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u8 Hold)</td></tr>
<tr class="memdesc:a59516866f229178eca67ede70680a751"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will power down the mixed-mode clock manager (MMCM) core.  <a href="#a59516866f229178eca67ede70680a751">More...</a><br /></td></tr>
<tr class="separator:a59516866f229178eca67ede70680a751"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a652a8b7de475a3a54ad9a5f6e40ee9d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir)</td></tr>
<tr class="memdesc:a652a8b7de475a3a54ad9a5f6e40ee9d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will start the mixed-mode clock manager (MMCM) core.  <a href="#a652a8b7de475a3a54ad9a5f6e40ee9d9">More...</a><br /></td></tr>
<tr class="separator:a652a8b7de475a3a54ad9a5f6e40ee9d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5754f49fa0df65d75a6d62f4885b94c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ac5754f49fa0df65d75a6d62f4885b94c">XVphy_IBufDsEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, XVphy_DirectionType Dir, u8 Enable)</td></tr>
<tr class="memdesc:ac5754f49fa0df65d75a6d62f4885b94c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the TX or RX IBUFDS peripheral.  <a href="#ac5754f49fa0df65d75a6d62f4885b94c">More...</a><br /></td></tr>
<tr class="separator:ac5754f49fa0df65d75a6d62f4885b94c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5c0be51d9acd79559d092d16e7d1fe8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#ab5c0be51d9acd79559d092d16e7d1fe8">XVphy_Clkout1OBufTdsEnable</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, XVphy_DirectionType Dir, u8 Enable)</td></tr>
<tr class="memdesc:ab5c0be51d9acd79559d092d16e7d1fe8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the TX or RX CLKOUT1 OBUFTDS peripheral.  <a href="#ab5c0be51d9acd79559d092d16e7d1fe8">More...</a><br /></td></tr>
<tr class="separator:ab5c0be51d9acd79559d092d16e7d1fe8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ac1ec33cd234c67df30471d148e77be"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a7ac1ec33cd234c67df30471d148e77be">XVphy_IsBonded</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, u8 QuadId, <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a> ChId)</td></tr>
<tr class="memdesc:a7ac1ec33cd234c67df30471d148e77be"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns true when the RX and TX are bonded and are running from the same (RX) reference clock.  <a href="#a7ac1ec33cd234c67df30471d148e77be">More...</a><br /></td></tr>
<tr class="separator:a7ac1ec33cd234c67df30471d148e77be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02a73b6d88ba733664e66c34f73fe0b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a02a73b6d88ba733664e66c34f73fe0b6">XVphy_LogDisplay</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
<tr class="memdesc:a02a73b6d88ba733664e66c34f73fe0b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will print the entire log.  <a href="#a02a73b6d88ba733664e66c34f73fe0b6">More...</a><br /></td></tr>
<tr class="separator:a02a73b6d88ba733664e66c34f73fe0b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeab6f13c2dd0b30889e09de7ff2759df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#aeab6f13c2dd0b30889e09de7ff2759df">XVphy_LogReset</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
<tr class="memdesc:aeab6f13c2dd0b30889e09de7ff2759df"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will reset the driver's logginc mechanism.  <a href="#aeab6f13c2dd0b30889e09de7ff2759df">More...</a><br /></td></tr>
<tr class="separator:aeab6f13c2dd0b30889e09de7ff2759df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80743b41f194185251ac269d4985784c"><td class="memItemLeft" align="right" valign="top">u16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a80743b41f194185251ac269d4985784c">XVphy_LogRead</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
<tr class="memdesc:a80743b41f194185251ac269d4985784c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will read the last event from the log.  <a href="#a80743b41f194185251ac269d4985784c">More...</a><br /></td></tr>
<tr class="separator:a80743b41f194185251ac269d4985784c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a04f2b6dd2fd863b0c282a1d7a5c378"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a9a04f2b6dd2fd863b0c282a1d7a5c378">XVphy_LogWrite</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862">XVphy_LogEvent</a> Evt, u8 Data)</td></tr>
<tr class="memdesc:a9a04f2b6dd2fd863b0c282a1d7a5c378"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function will insert an event in the driver's logginc mechanism.  <a href="#a9a04f2b6dd2fd863b0c282a1d7a5c378">More...</a><br /></td></tr>
<tr class="separator:a9a04f2b6dd2fd863b0c282a1d7a5c378"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75e14bbc2dcc8eeeaaed26371ae1b34c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a75e14bbc2dcc8eeeaaed26371ae1b34c">XVphy_InterruptHandler</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
<tr class="memdesc:a75e14bbc2dcc8eeeaaed26371ae1b34c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the interrupt handler for the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> driver.  <a href="#a75e14bbc2dcc8eeeaaed26371ae1b34c">More...</a><br /></td></tr>
<tr class="separator:a75e14bbc2dcc8eeeaaed26371ae1b34c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a772c4c6e8f106de408926972cb2443f2"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a772c4c6e8f106de408926972cb2443f2">XVphy_SelfTest</a> (<a class="el" href="struct_x_vphy.html">XVphy</a> *InstancePtr)</td></tr>
<tr class="memdesc:a772c4c6e8f106de408926972cb2443f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function runs a self-test on the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> driver/device.  <a href="#a772c4c6e8f106de408926972cb2443f2">More...</a><br /></td></tr>
<tr class="separator:a772c4c6e8f106de408926972cb2443f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97e9150af1115bf30fe03f548f308875"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_vphy___config.html">XVphy_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xvphy_8h.html#a97e9150af1115bf30fe03f548f308875">XVphy_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:a97e9150af1115bf30fe03f548f308875"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function looks for the device configuration based on the unique device ID.  <a href="#a97e9150af1115bf30fe03f548f308875">More...</a><br /></td></tr>
<tr class="separator:a97e9150af1115bf30fe03f548f308875"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a3025c63cf1c5e5065caa8e097e451339"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3025c63cf1c5e5065caa8e097e451339">&#9670;&nbsp;</a></span>XVphy_Callback</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XVphy_Callback) (void *CallbackRef)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Generic callback type. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a pointer to the callback reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a21fe7ac2940a12aa24d265c30d02b1aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21fe7ac2940a12aa24d265c30d02b1aa">&#9670;&nbsp;</a></span>XVphy_IntrHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XVphy_IntrHandler) (void *InstancePtr)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callback type which represents the handler for interrupts. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a2aa9ce957914fce939a5a3aca20b7e86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2aa9ce957914fce939a5a3aca20b7e86">&#9670;&nbsp;</a></span>XVphy_TimerHandler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void(* XVphy_TimerHandler) (void *InstancePtr, u32 MicroSeconds)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Callback type which represents a custom timer wait handler. </p>
<p>This is only used for Microblaze since it doesn't have a native sleep function. To avoid dependency on a hardware timer, the default wait functionality is implemented using loop iterations; this isn't too accurate. If a custom timer handler is used, the user may implement their own wait implementation using a hardware timer (see example/) for better accuracy.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
    <tr><td class="paramname">MicroSeconds</td><td>is the number of microseconds to be passed to the timer function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a535e4dd9425d8b7818e02930ce9e2b8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a535e4dd9425d8b7818e02930ce9e2b8e">&#9670;&nbsp;</a></span>XVphy_ChannelId</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This typedef enumerates the available channels. </p>

</div>
</div>
<a id="a63f8585e9f30f40cf292b200922ea058"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63f8585e9f30f40cf292b200922ea058">&#9670;&nbsp;</a></span>XVphy_ErrIrqType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#a63f8585e9f30f40cf292b200922ea058">XVphy_ErrIrqType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a63f8585e9f30f40cf292b200922ea058aa01a02e850d1b1e51028ef569e235485"></a>XVPHY_ERRIRQ_QPLL_CFG&#160;</td><td class="fielddoc"><p>QPLL CFG not found. </p>
</td></tr>
<tr><td class="fieldname"><a id="a63f8585e9f30f40cf292b200922ea058a2d80d5bb73875fb8007aace91cd86f14"></a>XVPHY_ERRIRQ_CPLL_CFG&#160;</td><td class="fielddoc"><p>CPLL CFG not found. </p>
</td></tr>
<tr><td class="fieldname"><a id="a63f8585e9f30f40cf292b200922ea058a14e79315e1b59761e51203c0ff991d1c"></a>XVPHY_ERRIRQ_NO_DRU&#160;</td><td class="fielddoc"><p>No DRU in design. </p>
</td></tr>
<tr><td class="fieldname"><a id="a63f8585e9f30f40cf292b200922ea058a61748cdc5f3f01ee0e4edbea387e18f0"></a>XVPHY_ERRIRQ_VD_NOT_SPRTD&#160;</td><td class="fielddoc"><p>Video Not Supported. </p>
</td></tr>
<tr><td class="fieldname"><a id="a63f8585e9f30f40cf292b200922ea058a4a56203354fb9c00109d66bf56467a09"></a>XVPHY_ERRIRQ_MMCM_CFG&#160;</td><td class="fielddoc"><p>MMCM CFG not found. </p>
</td></tr>
<tr><td class="fieldname"><a id="a63f8585e9f30f40cf292b200922ea058afffcca0f834e94154c8606ac1f3d62ae"></a>XVPHY_ERRIRQ_PLL_LAYOUT&#160;</td><td class="fielddoc"><p>PLL Error. </p>
</td></tr>
</table>

</div>
</div>
<a id="a11be9fb60860466de1747a062ac1a919"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11be9fb60860466de1747a062ac1a919">&#9670;&nbsp;</a></span>XVphy_GtState</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#a11be9fb60860466de1747a062ac1a919">XVphy_GtState</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a11be9fb60860466de1747a062ac1a919a8af6950c69438f65bef20ec1ec395c5d"></a>XVPHY_GT_STATE_IDLE&#160;</td><td class="fielddoc"><p>Idle state. </p>
</td></tr>
<tr><td class="fieldname"><a id="a11be9fb60860466de1747a062ac1a919abd3df6a0b11e0c4dd9250f995cf528d2"></a>XVPHY_GT_STATE_LOCK&#160;</td><td class="fielddoc"><p>Lock state. </p>
</td></tr>
<tr><td class="fieldname"><a id="a11be9fb60860466de1747a062ac1a919aca296f5c524808bcb196136845316aec"></a>XVPHY_GT_STATE_RESET&#160;</td><td class="fielddoc"><p>Reset state. </p>
</td></tr>
<tr><td class="fieldname"><a id="a11be9fb60860466de1747a062ac1a919a230046f4a0b3321064c133ead87ce2ea"></a>XVPHY_GT_STATE_ALIGN&#160;</td><td class="fielddoc"><p>Align state. </p>
</td></tr>
<tr><td class="fieldname"><a id="a11be9fb60860466de1747a062ac1a919a5011c615c5b46d321d92c7cd16870138"></a>XVPHY_GT_STATE_READY&#160;</td><td class="fielddoc"><p>Ready state. </p>
</td></tr>
</table>

</div>
</div>
<a id="a5d7a1522b8c8db7a4d13630b4d0d67ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d7a1522b8c8db7a4d13630b4d0d67ac">&#9670;&nbsp;</a></span>XVphy_HdmiHandlerType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#a5d7a1522b8c8db7a4d13630b4d0d67ac">XVphy_HdmiHandlerType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This typedef enumerates the list of available hdmi handler types. </p>
<p>The values are used as parameters to the XVphy_SetHdmiCallback function. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a5d7a1522b8c8db7a4d13630b4d0d67aca0935a34352ea1c95845d24f9339aa858"></a>XVPHY_HDMI_HANDLER_TXINIT&#160;</td><td class="fielddoc"><p>TX init handler. </p>
</td></tr>
<tr><td class="fieldname"><a id="a5d7a1522b8c8db7a4d13630b4d0d67aca663e6eda3ccced827fb278555c33d2cf"></a>XVPHY_HDMI_HANDLER_TXREADY&#160;</td><td class="fielddoc"><p>TX ready handler. </p>
</td></tr>
<tr><td class="fieldname"><a id="a5d7a1522b8c8db7a4d13630b4d0d67acadc1239bf568d5bec91b9c9baa8bca65e"></a>XVPHY_HDMI_HANDLER_RXINIT&#160;</td><td class="fielddoc"><p>RX init handler. </p>
</td></tr>
<tr><td class="fieldname"><a id="a5d7a1522b8c8db7a4d13630b4d0d67acafe4c577235317d8538e592641f45d1a3"></a>XVPHY_HDMI_HANDLER_RXREADY&#160;</td><td class="fielddoc"><p>RX ready handler. </p>
</td></tr>
</table>

</div>
</div>
<a id="a87369c0a51fcd69621ccbbd44b64b470"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87369c0a51fcd69621ccbbd44b64b470">&#9670;&nbsp;</a></span>XVphy_IntrHandlerType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#a87369c0a51fcd69621ccbbd44b64b470">XVphy_IntrHandlerType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This typedef enumerates the list of available interrupt handler types. </p>
<p>The values are used as parameters to the XVphy_SetIntrHandler function. </p>

</div>
</div>
<a id="a850b903da34740657782f29d2f142862"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a850b903da34740657782f29d2f142862">&#9670;&nbsp;</a></span>XVphy_LogEvent</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862">XVphy_LogEvent</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a3bdbb622e1eb4b326e8a5fd83657be97"></a>XVPHY_LOG_EVT_NONE&#160;</td><td class="fielddoc"><p>Log event none. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862afaac44c45e2bc57cc2f617ea54b5cea7"></a>XVPHY_LOG_EVT_QPLL_EN&#160;</td><td class="fielddoc"><p>Log event QPLL enable. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a34b4ad0da304ecd352666351effb09ec"></a>XVPHY_LOG_EVT_QPLL_RST&#160;</td><td class="fielddoc"><p>Log event QPLL reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862aec2fc43529cf55a7a3f5c41d74af14a0"></a>XVPHY_LOG_EVT_QPLL_LOCK&#160;</td><td class="fielddoc"><p>Log event QPLL lock. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a786d40f0263293814d72536da3dc0f8c"></a>XVPHY_LOG_EVT_QPLL_RECONFIG&#160;</td><td class="fielddoc"><p>Log event QPLL reconfig. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ad52a7e6d86f8cc9f29750f4c9795159c"></a>XVPHY_LOG_EVT_QPLL0_EN&#160;</td><td class="fielddoc"><p>Log event QPLL0 enable. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a22bcd2aa76118e62733db3bafe94f684"></a>XVPHY_LOG_EVT_QPLL0_RST&#160;</td><td class="fielddoc"><p>Log event QPLL0 reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a8675d76576172fd5f58bd8ccb80d8ff1"></a>XVPHY_LOG_EVT_QPLL0_LOCK&#160;</td><td class="fielddoc"><p>Log event QPLL0 lock. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a44c36c63c93e86fcd8a626448c9dc8ce"></a>XVPHY_LOG_EVT_QPLL0_RECONFIG&#160;</td><td class="fielddoc"><p>Log event QPLL0 reconfig. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a70e66eba3c2dfc433c10e22109075e65"></a>XVPHY_LOG_EVT_QPLL1_EN&#160;</td><td class="fielddoc"><p>Log event QPLL1 enable. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a37d46ff14ff774b860fa04a3097c4e4e"></a>XVPHY_LOG_EVT_QPLL1_RST&#160;</td><td class="fielddoc"><p>Log event QPLL1 reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a4291b067d456a42737ebaafaa61fa767"></a>XVPHY_LOG_EVT_QPLL1_LOCK&#160;</td><td class="fielddoc"><p>Log event QPLL1 lock. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a6d02ba6d46f732482f1d010fcb437f55"></a>XVPHY_LOG_EVT_QPLL1_RECONFIG&#160;</td><td class="fielddoc"><p>Log event QPLL1 reconfig. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ad8e026d18f12edf002d7d7d68a66d522"></a>XVPHY_LOG_EVT_PLL0_EN&#160;</td><td class="fielddoc"><p>Log event PLL0 reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ae42676f5447cbcccb4d1cc597b897cd8"></a>XVPHY_LOG_EVT_PLL0_RST&#160;</td><td class="fielddoc"><p>Log event PLL0 reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a586bb32a20f4a986ae208c0e6e8bef08"></a>XVPHY_LOG_EVT_PLL0_LOCK&#160;</td><td class="fielddoc"><p>Log event PLL0 lock. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862acd2a55ba7c91782029e40356154b66a2"></a>XVPHY_LOG_EVT_PLL0_RECONFIG&#160;</td><td class="fielddoc"><p>Log event PLL0 reconfig. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862af8e57e72726b6310900e8294f6f0c6d3"></a>XVPHY_LOG_EVT_PLL1_EN&#160;</td><td class="fielddoc"><p>Log event PLL1 reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a111dda7109926b386f8cb182b17d8854"></a>XVPHY_LOG_EVT_PLL1_RST&#160;</td><td class="fielddoc"><p>Log event PLL1 reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ab1590d315e1c6be3f46ea54ad59cbb97"></a>XVPHY_LOG_EVT_PLL1_LOCK&#160;</td><td class="fielddoc"><p>Log event PLL1 lock. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ab201b87e897162791ec58380d04a984b"></a>XVPHY_LOG_EVT_PLL1_RECONFIG&#160;</td><td class="fielddoc"><p>Log event PLL1 reconfig. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ab0598c9436107368e845f78889392d0a"></a>XVPHY_LOG_EVT_CPLL_EN&#160;</td><td class="fielddoc"><p>Log event CPLL reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a16d8b631eb64d20c8235ea1190ac5fb4"></a>XVPHY_LOG_EVT_CPLL_RST&#160;</td><td class="fielddoc"><p>Log event CPLL reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ab3dfbd833b116269343aabe94495a171"></a>XVPHY_LOG_EVT_CPLL_LOCK&#160;</td><td class="fielddoc"><p>Log event CPLL lock. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ac40104381761e9e75f7cd39b77604468"></a>XVPHY_LOG_EVT_CPLL_RECONFIG&#160;</td><td class="fielddoc"><p>Log event CPLL reconfig. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ab34474947edbe41e79f5f38570e91eed"></a>XVPHY_LOG_EVT_TXPLL_EN&#160;</td><td class="fielddoc"><p>Log event TXPLL enable. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a123b046c9e909116f14f747a45c5433e"></a>XVPHY_LOG_EVT_TXPLL_RST&#160;</td><td class="fielddoc"><p>Log event TXPLL reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a2f5e75886c9f9d1555cc07d3a907a3f1"></a>XVPHY_LOG_EVT_RXPLL_EN&#160;</td><td class="fielddoc"><p>Log event RXPLL enable. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ad128c86d056498569cca58fdf487b0d7"></a>XVPHY_LOG_EVT_RXPLL_RST&#160;</td><td class="fielddoc"><p>Log event RXPLL reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862aed542b730b8682830f454a74fff14fea"></a>XVPHY_LOG_EVT_GTRX_RST&#160;</td><td class="fielddoc"><p>Log event GT RX reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a09e65067d1a0ed267159ab7d381a8c3d"></a>XVPHY_LOG_EVT_GTTX_RST&#160;</td><td class="fielddoc"><p>Log event GT TX reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a0dbd82fde8ad7b4a702af465767dfd85"></a>XVPHY_LOG_EVT_VID_TX_RST&#160;</td><td class="fielddoc"><p>Log event Vid TX reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a786c25e8dc1c0f36bd6d2c242f306691"></a>XVPHY_LOG_EVT_VID_RX_RST&#160;</td><td class="fielddoc"><p>Log event Vid RX reset. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a21a930543611410db05e0f831c77e762"></a>XVPHY_LOG_EVT_TX_ALIGN&#160;</td><td class="fielddoc"><p>Log event TX align. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a305b618171b512efe17f9ae0006eef7a"></a>XVPHY_LOG_EVT_TX_ALIGN_TMOUT&#160;</td><td class="fielddoc"><p>Log event TX align Timeout. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862aeb3c3b3bf2de063bb0162202c8e8cf6b"></a>XVPHY_LOG_EVT_TX_TMR&#160;</td><td class="fielddoc"><p>Log event TX timer. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ae0779929475e9bb2dfbcfd5c53ea66cc"></a>XVPHY_LOG_EVT_RX_TMR&#160;</td><td class="fielddoc"><p>Log event RX timer. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a831f281a8a83b29f3968f5147ba32b9b"></a>XVPHY_LOG_EVT_GT_RECONFIG&#160;</td><td class="fielddoc"><p>Log event GT reconfig. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a564fa05841a99d8026e486f0ca8518c6"></a>XVPHY_LOG_EVT_GT_TX_RECONFIG&#160;</td><td class="fielddoc"><p>Log event GT reconfig. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ad5bf29ae3737a33ccdbe8fc80f6a9be0"></a>XVPHY_LOG_EVT_GT_RX_RECONFIG&#160;</td><td class="fielddoc"><p>Log event GT reconfig. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a13b0c0b1dd1f7290d956d5cecd143739"></a>XVPHY_LOG_EVT_INIT&#160;</td><td class="fielddoc"><p>Log event init. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a25461b0cd5a3472dbf51c7f5b36a6ce5"></a>XVPHY_LOG_EVT_TXPLL_RECONFIG&#160;</td><td class="fielddoc"><p>Log event TXPLL reconfig. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a8df4eb8446367b5935d94c4227104a7b"></a>XVPHY_LOG_EVT_RXPLL_RECONFIG&#160;</td><td class="fielddoc"><p>Log event RXPLL reconfig. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862add3e48488fcf773e705e1c7894beda2f"></a>XVPHY_LOG_EVT_RXPLL_LOCK&#160;</td><td class="fielddoc"><p>Log event RXPLL lock. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a5910bbca483ec81392f2928c939c9e15"></a>XVPHY_LOG_EVT_TXPLL_LOCK&#160;</td><td class="fielddoc"><p>Log event TXPLL lock. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862af8505ec0772c740b7599288b11df4ea3"></a>XVPHY_LOG_EVT_TX_RST_DONE&#160;</td><td class="fielddoc"><p>Log event TX reset done. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a0bd9e2fae5b58aa42fb8353be178c61d"></a>XVPHY_LOG_EVT_RX_RST_DONE&#160;</td><td class="fielddoc"><p>Log event RX reset done. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a940b4c923e81d75524b13c19dd715bd8"></a>XVPHY_LOG_EVT_TX_FREQ&#160;</td><td class="fielddoc"><p>Log event TX frequency. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a06ad213c17cc6af8d42c08ad5bb679dc"></a>XVPHY_LOG_EVT_RX_FREQ&#160;</td><td class="fielddoc"><p>Log event RX frequency. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a2e542c84a7bb8c64f3b67738916164e8"></a>XVPHY_LOG_EVT_DRU_EN&#160;</td><td class="fielddoc"><p>Log event DRU enable/disable. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862af3ea810c2b6e4710cee592ec948dd3d6"></a>XVPHY_LOG_EVT_GT_PLL_LAYOUT&#160;</td><td class="fielddoc"><p>Log event GT PLL Layout Change. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862aa7d82890ce4ee9fd0415705e5a3dac45"></a>XVPHY_LOG_EVT_GT_UNBONDED&#160;</td><td class="fielddoc"><p>Log event GT Unbonded Change. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a080d9c4f3212417396daa143e91d9730"></a>XVPHY_LOG_EVT_1PPC_ERR&#160;</td><td class="fielddoc"><p>Log event 1 PPC Error. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a15e0bb5e9c803e18a3cdaa76fa730b76"></a>XVPHY_LOG_EVT_PPC_MSMTCH_ERR&#160;</td><td class="fielddoc"><p>Log event PPC MismatchError. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a9750ae97b863202547adb875864d43b2"></a>XVPHY_LOG_EVT_VDCLK_HIGH_ERR&#160;</td><td class="fielddoc"><p>Log event VidClk more than 148.5 MHz. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a37b4f831c4d3f3a13a3ed8397b65f2d1"></a>XVPHY_LOG_EVT_NO_DRU&#160;</td><td class="fielddoc"><p>Log event Vid not supported no DRU. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862af3b29c66f638794cdec285bf32a342dd"></a>XVPHY_LOG_EVT_GT_QPLL_CFG_ERR&#160;</td><td class="fielddoc"><p>Log event QPLL Config not found. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a8ac89fccb3aabe46ebcbf23570eae4a0"></a>XVPHY_LOG_EVT_GT_CPLL_CFG_ERR&#160;</td><td class="fielddoc"><p>Log event QPLL Config not found. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862ab7b69788e3f7081be03ae6882bdeade1"></a>XVPHY_LOG_EVT_VD_NOT_SPRTD_ERR&#160;</td><td class="fielddoc"><p>Log event Vid format not supported. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862a65c8fffc6126277921b7d18c442b237a"></a>XVPHY_LOG_EVT_MMCM_ERR&#160;</td><td class="fielddoc"><p>Log event MMCM Config not found. </p>
</td></tr>
<tr><td class="fieldname"><a id="a850b903da34740657782f29d2f142862acb4c5887247f150fc3a121792f1e94ff"></a>XVPHY_LOG_EVT_DUMMY&#160;</td><td class="fielddoc"><p>Dummy Event should be last. </p>
</td></tr>
</table>

</div>
</div>
<a id="ae82c27883add3fd1d30d4e0a8d5ee869"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae82c27883add3fd1d30d4e0a8d5ee869">&#9670;&nbsp;</a></span>XVphy_OutClkSelType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#ae82c27883add3fd1d30d4e0a8d5ee869">XVphy_OutClkSelType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This typedef enumerates the available clocks that are used as multiplexer input selections for the RX/TX output clock. </p>

</div>
</div>
<a id="abaf929d37e9f193c5577e3a08b50c950"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abaf929d37e9f193c5577e3a08b50c950">&#9670;&nbsp;</a></span>XVphy_PllRefClkSelType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This typedef enumerates the available reference clocks for the PLL clock selection multiplexer. </p>

</div>
</div>
<a id="abd3d50bbadd64dbfb763e97759a02624"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd3d50bbadd64dbfb763e97759a02624">&#9670;&nbsp;</a></span>XVphy_PllType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This typedef enumerates the different PLL types for a given GT channel. </p>

</div>
</div>
<a id="a1018e4be67be76fe085dc41338285bd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1018e4be67be76fe085dc41338285bd2">&#9670;&nbsp;</a></span>XVphy_ProtocolType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#a1018e4be67be76fe085dc41338285bd2">XVphy_ProtocolType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This typedef enumerates the various protocols handled by the Video PHY controller (VPHY). </p>

</div>
</div>
<a id="a91d7e180fc85dbee0c2daeb6014597c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91d7e180fc85dbee0c2daeb6014597c0">&#9670;&nbsp;</a></span>XVphy_SysClkDataSelType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#a91d7e180fc85dbee0c2daeb6014597c0">XVphy_SysClkDataSelType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This typedef enumerates the available reference clocks used to drive the RX/TX datapaths. </p>

</div>
</div>
<a id="a1ff2690f40dd23e3fb4ba55d99a6c45f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ff2690f40dd23e3fb4ba55d99a6c45f">&#9670;&nbsp;</a></span>XVphy_SysClkOutSelType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="xvphy_8h.html#a1ff2690f40dd23e3fb4ba55d99a6c45f">XVphy_SysClkOutSelType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This typedef enumerates the available reference clocks used to drive the RX/TX output clocks. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ab71ec5984965000a5c84b07805d4bf58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab71ec5984965000a5c84b07805d4bf58">&#9670;&nbsp;</a></span>XVphy_CfgInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_vphy___config.html">XVphy_Config</a> *&#160;</td>
          <td class="paramname"><em>ConfigPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>EffectiveAddr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function retrieves the configuration for this Video PHY instance and fills in the InstancePtr-&gt;Config structure. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
    <tr><td class="paramname">ConfigPtr</td><td>is a pointer to the configuration structure that will be used to copy the settings from. </td></tr>
    <tr><td class="paramname">EffectiveAddr</td><td>is the device base address in the virtual memory space. If the address translation is not used, then the physical address is passed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>Unexpected errors may occur if the address mapping is changed after this function is invoked. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="struct_x_vphy.html#a350b0f93bf83f2b3178e46e11936aa7f">XVphy::IsReady</a>.</p>

</div>
</div>
<a id="ad5d2ef80f68b92db024b3e690d0c410e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5d2ef80f68b92db024b3e690d0c410e">&#9670;&nbsp;</a></span>XVphy_CfgLineRate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_CfgLineRate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u64&#160;</td>
          <td class="paramname"><em>LineRateHz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the channel's line rate. </p>
<p>This is a software only configuration and this value is used in the PLL calculator.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">LineRate</td><td>is the line rate to configure software.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the reference clock type is valid.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy.html#a2a6689916034622640568869fd0ce86b">XVphy::Quads</a>, and <a class="el" href="xvphy__i_8c.html#a2d8b041a0730b041e28a4215d771cc04">XVphy_Ch2Ids()</a>.</p>

</div>
</div>
<a id="ab5c0be51d9acd79559d092d16e7d1fe8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5c0be51d9acd79559d092d16e7d1fe8">&#9670;&nbsp;</a></span>XVphy_Clkout1OBufTdsEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_Clkout1OBufTdsEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables the TX or RX CLKOUT1 OBUFTDS peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Enable</td><td>specifies TRUE/FALSE value to either enable or disable the OBUFTDS, respectively.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

</div>
</div>
<a id="af2ae1cb78ebf784d843ec371e68f2d96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2ae1cb78ebf784d843ec371e68f2d96">&#9670;&nbsp;</a></span>XVphy_DrpRead()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u16 XVphy_DrpRead </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Addr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will initiate a read DRP transaction. </p>
<p>It is a wrapper around XVphy_DrpAccess.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID on which to direct the DRP access. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for write (TX) or read (RX). </td></tr>
    <tr><td class="paramname">Addr</td><td>is the DRP address to issue the DRP access to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the DRP access was successful.</li>
<li>XST_FAILURE otherwise, if the busy bit did not go low, or if the ready bit did not go high.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a139392a254c9872829ff70e712ba807b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a139392a254c9872829ff70e712ba807b">&#9670;&nbsp;</a></span>XVphy_DrpWrite()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_DrpWrite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will initiate a write DRP transaction. </p>
<p>It is a wrapper around XVphy_DrpAccess.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID on which to direct the DRP access. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for write (TX) or read (RX). </td></tr>
    <tr><td class="paramname">Addr</td><td>is the DRP address to issue the DRP access to. </td></tr>
    <tr><td class="paramname">Val</td><td>is the value to write to the DRP address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the DRP access was successful.</li>
<li>XST_FAILURE otherwise, if the busy bit did not go low, or if the ready bit did not go high.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a83265bb40529b7550588a1ee0216fe1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83265bb40529b7550588a1ee0216fe1f">&#9670;&nbsp;</a></span>XVphy_GetLineRateHz()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u64 XVphy_GetLineRateHz </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will return the line rate in Hz for a given channel / quad. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to check. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID for which to retrieve the line rate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The line rate in Hz.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="acc589d8dad782b38e7da73526c30207b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc589d8dad782b38e7da73526c30207b">&#9670;&nbsp;</a></span>XVphy_GetPllType()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a> XVphy_GetPllType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obtain the channel's PLL reference clock selection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID which to operate on.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The PLL type being used by the channel.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xvphy__i_8c.html#a8e1cf75cf2ecce4902aeb0faca3d0c7c">XVphy_GetSysClkDataSel()</a>, and <a class="el" href="xvphy__i_8c.html#afa18f0da25042d12e577a5e16d950476">XVphy_GetSysClkOutSel()</a>.</p>

</div>
</div>
<a id="aa4cef4dea102e0cbb7671d8113f9d52e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4cef4dea102e0cbb7671d8113f9d52e">&#9670;&nbsp;</a></span>XVphy_GetVersion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_GetVersion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will obtian the IP version. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The IP version of the Video PHY core.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

</div>
</div>
<a id="ac5754f49fa0df65d75a6d62f4885b94c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5754f49fa0df65d75a6d62f4885b94c">&#9670;&nbsp;</a></span>XVphy_IBufDsEnable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_IBufDsEnable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Enable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables the TX or RX IBUFDS peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Enable</td><td>specifies TRUE/FALSE value to either enable or disable the IBUFDS, respectively.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a75e14bbc2dcc8eeeaaed26371ae1b34c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75e14bbc2dcc8eeeaaed26371ae1b34c">&#9670;&nbsp;</a></span>XVphy_InterruptHandler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_InterruptHandler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the interrupt handler for the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> driver. </p>
<p>It will detect what kind of interrupt has happened, and will invoke the appropriate callback function.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, <a class="el" href="struct_x_vphy.html#a350b0f93bf83f2b3178e46e11936aa7f">XVphy::IsReady</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

</div>
</div>
<a id="a7ac1ec33cd234c67df30471d148e77be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ac1ec33cd234c67df30471d148e77be">&#9670;&nbsp;</a></span>XVphy_IsBonded()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_IsBonded </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function returns true when the RX and TX are bonded and are running from the same (RX) reference clock. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the RX and TX are using the same PLL, FALSE otherwise.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a02a73b6d88ba733664e66c34f73fe0b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02a73b6d88ba733664e66c34f73fe0b6">&#9670;&nbsp;</a></span>XVphy_LogDisplay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_LogDisplay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will print the entire log. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a080d9c4f3212417396daa143e91d9730">XVPHY_LOG_EVT_1PPC_ERR</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab0598c9436107368e845f78889392d0a">XVPHY_LOG_EVT_CPLL_EN</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab3dfbd833b116269343aabe94495a171">XVPHY_LOG_EVT_CPLL_LOCK</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ac40104381761e9e75f7cd39b77604468">XVPHY_LOG_EVT_CPLL_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a16d8b631eb64d20c8235ea1190ac5fb4">XVPHY_LOG_EVT_CPLL_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a2e542c84a7bb8c64f3b67738916164e8">XVPHY_LOG_EVT_DRU_EN</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a8ac89fccb3aabe46ebcbf23570eae4a0">XVPHY_LOG_EVT_GT_CPLL_CFG_ERR</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862af3ea810c2b6e4710cee592ec948dd3d6">XVPHY_LOG_EVT_GT_PLL_LAYOUT</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862af3b29c66f638794cdec285bf32a342dd">XVPHY_LOG_EVT_GT_QPLL_CFG_ERR</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a831f281a8a83b29f3968f5147ba32b9b">XVPHY_LOG_EVT_GT_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ad5bf29ae3737a33ccdbe8fc80f6a9be0">XVPHY_LOG_EVT_GT_RX_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a564fa05841a99d8026e486f0ca8518c6">XVPHY_LOG_EVT_GT_TX_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862aa7d82890ce4ee9fd0415705e5a3dac45">XVPHY_LOG_EVT_GT_UNBONDED</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862aed542b730b8682830f454a74fff14fea">XVPHY_LOG_EVT_GTRX_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a09e65067d1a0ed267159ab7d381a8c3d">XVPHY_LOG_EVT_GTTX_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a13b0c0b1dd1f7290d956d5cecd143739">XVPHY_LOG_EVT_INIT</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a65c8fffc6126277921b7d18c442b237a">XVPHY_LOG_EVT_MMCM_ERR</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a37b4f831c4d3f3a13a3ed8397b65f2d1">XVPHY_LOG_EVT_NO_DRU</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a3bdbb622e1eb4b326e8a5fd83657be97">XVPHY_LOG_EVT_NONE</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a586bb32a20f4a986ae208c0e6e8bef08">XVPHY_LOG_EVT_PLL0_LOCK</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862acd2a55ba7c91782029e40356154b66a2">XVPHY_LOG_EVT_PLL0_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab1590d315e1c6be3f46ea54ad59cbb97">XVPHY_LOG_EVT_PLL1_LOCK</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab201b87e897162791ec58380d04a984b">XVPHY_LOG_EVT_PLL1_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a15e0bb5e9c803e18a3cdaa76fa730b76">XVPHY_LOG_EVT_PPC_MSMTCH_ERR</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862afaac44c45e2bc57cc2f617ea54b5cea7">XVPHY_LOG_EVT_QPLL_EN</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862aec2fc43529cf55a7a3f5c41d74af14a0">XVPHY_LOG_EVT_QPLL_LOCK</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a786d40f0263293814d72536da3dc0f8c">XVPHY_LOG_EVT_QPLL_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a34b4ad0da304ecd352666351effb09ec">XVPHY_LOG_EVT_QPLL_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a06ad213c17cc6af8d42c08ad5bb679dc">XVPHY_LOG_EVT_RX_FREQ</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a0bd9e2fae5b58aa42fb8353be178c61d">XVPHY_LOG_EVT_RX_RST_DONE</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ae0779929475e9bb2dfbcfd5c53ea66cc">XVPHY_LOG_EVT_RX_TMR</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a2f5e75886c9f9d1555cc07d3a907a3f1">XVPHY_LOG_EVT_RXPLL_EN</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862add3e48488fcf773e705e1c7894beda2f">XVPHY_LOG_EVT_RXPLL_LOCK</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a8df4eb8446367b5935d94c4227104a7b">XVPHY_LOG_EVT_RXPLL_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ad128c86d056498569cca58fdf487b0d7">XVPHY_LOG_EVT_RXPLL_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a21a930543611410db05e0f831c77e762">XVPHY_LOG_EVT_TX_ALIGN</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a305b618171b512efe17f9ae0006eef7a">XVPHY_LOG_EVT_TX_ALIGN_TMOUT</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a940b4c923e81d75524b13c19dd715bd8">XVPHY_LOG_EVT_TX_FREQ</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862af8505ec0772c740b7599288b11df4ea3">XVPHY_LOG_EVT_TX_RST_DONE</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862aeb3c3b3bf2de063bb0162202c8e8cf6b">XVPHY_LOG_EVT_TX_TMR</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab34474947edbe41e79f5f38570e91eed">XVPHY_LOG_EVT_TXPLL_EN</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a5910bbca483ec81392f2928c939c9e15">XVPHY_LOG_EVT_TXPLL_LOCK</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a25461b0cd5a3472dbf51c7f5b36a6ce5">XVPHY_LOG_EVT_TXPLL_RECONFIG</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a123b046c9e909116f14f747a45c5433e">XVPHY_LOG_EVT_TXPLL_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862ab7b69788e3f7081be03ae6882bdeade1">XVPHY_LOG_EVT_VD_NOT_SPRTD_ERR</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a9750ae97b863202547adb875864d43b2">XVPHY_LOG_EVT_VDCLK_HIGH_ERR</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a786c25e8dc1c0f36bd6d2c242f306691">XVPHY_LOG_EVT_VID_RX_RST</a>, <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862a0dbd82fde8ad7b4a702af465767dfd85">XVPHY_LOG_EVT_VID_TX_RST</a>, and <a class="el" href="xvphy_8h.html#a80743b41f194185251ac269d4985784c">XVphy_LogRead()</a>.</p>

</div>
</div>
<a id="a80743b41f194185251ac269d4985784c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80743b41f194185251ac269d4985784c">&#9670;&nbsp;</a></span>XVphy_LogRead()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u16 XVphy_LogRead </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will read the last event from the log. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The log data.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___log.html#a9f90a137db7ffa8c0328217004f3ee70">XVphy_Log::DataBuffer</a>, <a class="el" href="struct_x_vphy___log.html#a662ad14c0960cbed754ab9ea62abe684">XVphy_Log::HeadIndex</a>, <a class="el" href="struct_x_vphy.html#aa8ead0f7f27a3f857eddc1c63bd75a54">XVphy::Log</a>, and <a class="el" href="struct_x_vphy___log.html#ab1b66d4c5391adcaf396314171c9ec07">XVphy_Log::TailIndex</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvphy_8h.html#a02a73b6d88ba733664e66c34f73fe0b6">XVphy_LogDisplay()</a>.</p>

</div>
</div>
<a id="aeab6f13c2dd0b30889e09de7ff2759df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeab6f13c2dd0b30889e09de7ff2759df">&#9670;&nbsp;</a></span>XVphy_LogReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_LogReset </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will reset the driver's logginc mechanism. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___log.html#a662ad14c0960cbed754ab9ea62abe684">XVphy_Log::HeadIndex</a>, <a class="el" href="struct_x_vphy.html#aa8ead0f7f27a3f857eddc1c63bd75a54">XVphy::Log</a>, and <a class="el" href="struct_x_vphy___log.html#ab1b66d4c5391adcaf396314171c9ec07">XVphy_Log::TailIndex</a>.</p>

</div>
</div>
<a id="a9a04f2b6dd2fd863b0c282a1d7a5c378"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a04f2b6dd2fd863b0c282a1d7a5c378">&#9670;&nbsp;</a></span>XVphy_LogWrite()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_LogWrite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862">XVphy_LogEvent</a>&#160;</td>
          <td class="paramname"><em>Evt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will insert an event in the driver's logginc mechanism. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">Evt</td><td>is the event type to log. </td></tr>
    <tr><td class="paramname">Data</td><td>is the associated data for the event.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___log.html#a9f90a137db7ffa8c0328217004f3ee70">XVphy_Log::DataBuffer</a>, <a class="el" href="struct_x_vphy___log.html#a662ad14c0960cbed754ab9ea62abe684">XVphy_Log::HeadIndex</a>, <a class="el" href="struct_x_vphy.html#aa8ead0f7f27a3f857eddc1c63bd75a54">XVphy::Log</a>, <a class="el" href="struct_x_vphy___log.html#ab1b66d4c5391adcaf396314171c9ec07">XVphy_Log::TailIndex</a>, and <a class="el" href="xvphy_8h.html#a850b903da34740657782f29d2f142862acb4c5887247f150fc3a121792f1e94ff">XVPHY_LOG_EVT_DUMMY</a>.</p>

</div>
</div>
<a id="a97e9150af1115bf30fe03f548f308875"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97e9150af1115bf30fe03f548f308875">&#9670;&nbsp;</a></span>XVphy_LookupConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_vphy___config.html">XVphy_Config</a>* XVphy_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function looks for the device configuration based on the unique device ID. </p>
<p>The table XVphy_ConfigTable[] contains the configuration information for each device in the system.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the device being looked up.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the configuration table entry corresponding to the given device ID, or NULL if no match is found.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a59516866f229178eca67ede70680a751"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59516866f229178eca67ede70680a751">&#9670;&nbsp;</a></span>XVphy_MmcmPowerDown()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_MmcmPowerDown </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Hold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will power down the mixed-mode clock manager (MMCM) core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the power down if set to 1. If set to 0: power down, then power back up.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="xvphy_8h.html#a652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart()</a>.</p>

</div>
</div>
<a id="a652a8b7de475a3a54ad9a5f6e40ee9d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a652a8b7de475a3a54ad9a5f6e40ee9d9">&#9670;&nbsp;</a></span>XVphy_MmcmStart()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_MmcmStart </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will start the mixed-mode clock manager (MMCM) core. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="xvphy_8c.html#a59516866f229178eca67ede70680a751">XVphy_MmcmPowerDown()</a>, <a class="el" href="xvphy__i_8c.html#adc182ff22a7ec230dc163f90ec5263a3">XVphy_MmcmReset()</a>, and <a class="el" href="xvphy_8c.html#a54b6787198c16e99851326d82568421d">XVphy_WaitUs()</a>.</p>

</div>
</div>
<a id="a3d345eb8a8206448501f6d9dcc53b92e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d345eb8a8206448501f6d9dcc53b92e">&#9670;&nbsp;</a></span>XVphy_PllInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_PllInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a>&#160;</td>
          <td class="paramname"><em>QpllRefClkSel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#abaf929d37e9f193c5577e3a08b50c950">XVphy_PllRefClkSelType</a>&#160;</td>
          <td class="paramname"><em>CpllRefClkSel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a>&#160;</td>
          <td class="paramname"><em>TxPllSelect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#abd3d50bbadd64dbfb763e97759a02624">XVphy_PllType</a>&#160;</td>
          <td class="paramname"><em>RxPllSelect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will initialize the PLL selection for a given channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID to operate on. </td></tr>
    <tr><td class="paramname">QpllRefClkSel</td><td>is the QPLL reference clock selection for the quad.<ul>
<li>In GTP, this is used to hold PLL0 refclk selection. </li>
</ul>
</td></tr>
    <tr><td class="paramname">CpllRefClkSel</td><td>is the CPLL reference clock selection for the quad.<ul>
<li>In GTP, this is used to hold PLL1 refclk selection. </li>
</ul>
</td></tr>
    <tr><td class="paramname">TxPllSelect</td><td>is the reference clock selection for the quad's TX PLL dividers. </td></tr>
    <tr><td class="paramname">RxPllSelect</td><td>is the reference clock selection for the quad's RX PLL dividers.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="struct_x_vphy___config.html#a9bdda7f6198220dbf4e388402d94b93a">XVphy_Config::XcvrType</a>.</p>

</div>
</div>
<a id="ad1c3340164a0759e485ba914ef282dc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1c3340164a0759e485ba914ef282dc3">&#9670;&nbsp;</a></span>XVphy_ResetGtPll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_ResetGtPll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Hold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will reset the GT's PLL logic. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID which to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the reset if set to 1. If set to 0: reset, then enable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a3d258176c8a2cc605cdaf8f28a72559d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d258176c8a2cc605cdaf8f28a72559d">&#9670;&nbsp;</a></span>XVphy_ResetGtTxRx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_ResetGtTxRx </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>QuadId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="xvphy_8h.html#a535e4dd9425d8b7818e02930ce9e2b8e">XVphy_ChannelId</a>&#160;</td>
          <td class="paramname"><em>ChId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XVphy_DirectionType&#160;</td>
          <td class="paramname"><em>Dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Hold</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function will reset the GT's TX/RX logic. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> core instance. </td></tr>
    <tr><td class="paramname">QuadId</td><td>is the GT quad ID to operate on. </td></tr>
    <tr><td class="paramname">ChId</td><td>is the channel ID which to operate on. </td></tr>
    <tr><td class="paramname">Dir</td><td>is an indicator for TX or RX. </td></tr>
    <tr><td class="paramname">Hold</td><td>is an indicator whether to "hold" the reset if set to 1. If set to 0: reset, then enable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="a772c4c6e8f106de408926972cb2443f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a772c4c6e8f106de408926972cb2443f2">&#9670;&nbsp;</a></span>XVphy_SelfTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XVphy_SelfTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function runs a self-test on the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> driver/device. </p>
<p>The sanity test checks whether or not all tested registers hold their default reset values.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if the self-test passed - all tested registers hold their default reset values.</li>
<li>XST_FAILURE otherwise.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy___config.html#a37ebb950e78d0d9bedc29b27ad6619d3">XVphy_Config::BaseAddr</a>, <a class="el" href="struct_x_vphy.html#a45ad21128fb62d2f120e92ae3488c32c">XVphy::Config</a>, and <a class="el" href="xvphy__hw_8h.html#a4efa6fb68e702bd91a3fb099d7ba0188">XVphy_ReadReg</a>.</p>

</div>
</div>
<a id="a54b6787198c16e99851326d82568421d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54b6787198c16e99851326d82568421d">&#9670;&nbsp;</a></span>XVphy_WaitUs()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XVphy_WaitUs </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_vphy.html">XVphy</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>MicroSeconds</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is the delay/sleep function for the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> driver. </p>
<p>For the Zynq family, there exists native sleep functionality. For MicroBlaze however, there does not exist such functionality. In the MicroBlaze case, the default method for delaying is to use a predetermined amount of loop iterations. This method is prone to inaccuracy and dependent on system configuration; for greater accuracy, the user may supply their own delay/sleep handler, pointed to by InstancePtr-&gt;UserTimerWaitUs, which may have better accuracy if a hardware timer is used.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_vphy.html" title="The XVphy driver instance data. ">XVphy</a> instance. </td></tr>
    <tr><td class="paramname">MicroSeconds</td><td>is the number of microseconds to delay/sleep for.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="struct_x_vphy.html#a350b0f93bf83f2b3178e46e11936aa7f">XVphy::IsReady</a>, <a class="el" href="struct_x_vphy.html#a4eb6913f5fda8406fe6f3577c240721b">XVphy::UserTimerWaitUs</a>, <a class="el" href="xvphy__i_8c.html#a918c7447d08e6af827ab03493348b706">XVphy_ClkCalcParams()</a>, <a class="el" href="xvphy__i_8c.html#ae2450ff392b3bdafa0b65b549af231a1">XVphy_ClkReconfig()</a>, <a class="el" href="xvphy__i_8c.html#a609475eec7171bd779b972e31496c717">XVphy_DirReconfig()</a>, and <a class="el" href="xvphy__i_8c.html#acb53c60099495db88a9931980e278bc6">XVphy_OutDivReconfig()</a>.</p>

<p class="reference">Referenced by <a class="el" href="xvphy_8h.html#a652a8b7de475a3a54ad9a5f6e40ee9d9">XVphy_MmcmStart()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
